package edu.whu.demo.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import javax.persistence.Entity;


@Data
@AllArgsConstructor
@TableName(value = "suppliers")
@NoArgsConstructor
public class Supplier {
    @TableId(type = IdType.AUTO)
    long id;

    String name;
}
